package com.sgj.adapter.classadapter;

/**
 * 适配器模式
 * 类适配器
 * @Author: Guoji Shen
 * @Date: 2021/11/16 10:30
 */
public class Client {
    public static void main(String[] args) {
        Phone phone = new Phone();
        phone.charging(new VoltageAdapter());
    }
}